.class Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$i;
.super Ljava/lang/Object;
.source "SimplePopNoteEditor.java"

# interfaces
.implements Landroid/view/View$OnTouchListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$i;->a:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 1

    .line 1
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getY()F

    move-result p1

    iget-object v0, p0, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$i;->a:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->l(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/EditText;->getHeight()I

    move-result v0

    int-to-float v0, v0

    cmpl-float p1, p1, v0

    if-lez p1, :cond_0

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$i;->a:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->B(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Lcom/estrongs/android/pop/app/editor/ObservableScrollView;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/ScrollView;->getWidth()I

    move-result p1

    int-to-float p1, p1

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    invoke-virtual {p2, p1, v0}, Landroid/view/MotionEvent;->setLocation(FF)V

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$i;->a:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->l(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Landroid/widget/EditText;

    move-result-object p1

    invoke-virtual {p1, p2}, Landroid/widget/EditText;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    :cond_0
    const/4 p1, 0x0

    return p1
.end method
